<template>
	<!--订单页面-->
	<view class="wrapper" :style="{height:wrapperHeight +'px'}">
		<!--<view class="title-padding"></view>-->
		<!-- <view class="headerGd">
			<view class="header">
				<button class="back" @tap="back()"></button>
				销售毛利汇总
				<button class="filter" @tap="filter()"></button>
			</view>
		</view> -->
		<view class="container" :style="{height: containerHeight + 'px'}">
			<view class="curstom">
				<!-- <view class="changeList" @tap="changeListAl">

				</view> -->
				<!-- <view class="cuIcon-calendar" @tap="changeWidth()"></view> -->
				<view class="filterTime">
					当前客户:{{curstomName}}
				</view>
				<view class="filterTime">
					<text>{{startTime}}</text>
					<text>{{endTime}}</text>
				</view>
			</view>
			<view class="orderList" :style="{height: orderListHeight + 'px'}" v-show="isList">
				<view class="orderNav" :style="{width:tdAllWidth+'px'}" @tap="changeWidth()">
					<!-- <text :style="{width:tdWidth[index]+'px'}" v-for="(item,index) in tdHeaderList" :key="index">
						{{item.name}}
					</text> -->
					<text :style="{width:tdWidth[0]+'px'}">
						序号
					</text>
					<text :style="{width:tdWidth[1]+'px'}">
						商品名称
					</text>
					<text :style="{width:tdWidth[2]+'px'}">
						编号
					</text>
					<text :style="{width:tdWidth[3]+'px'}" @tap.stop.prevent="paixu1(1)">
						销售数量
						<label class="text-blue text-xl" :class="paixu01?'cuIcon-triangledownfill':'cuIcon-triangleupfill'"></label>
					</text>
					<text :style="{width:tdWidth[4]+'px'}" @tap.stop.prevent="paixu1(2)">
						销售金额
						<label class="text-blue text-xl" :class="paixu02?'cuIcon-triangledownfill':'cuIcon-triangleupfill'"></label>
					</text>
					<text :style="{width:tdWidth[5]+'px'}" @tap.stop.prevent="paixu1(3)">
						成本金额
						<label class="text-blue text-xl" :class="paixu03?'cuIcon-triangledownfill':'cuIcon-triangleupfill'"></label>
					</text>
					<text :style="{width:tdWidth[6]+'px'}" @tap.stop.prevent="paixu1(4)">
						毛利额
						<label class="text-blue text-xl" :class="paixu04?'cuIcon-triangledownfill':'cuIcon-triangleupfill'"></label>
					</text>
					<text :style="{width:tdWidth[7]+'px'}">
						毛利率
					</text>
				</view>
				<view class="orderLi" :style="{height:orderLiHeight +'px',width:tdAllWidth+'px'}">
					<view class="orderItem" v-for="(item,index) in orderList" :key="index">
						<text :style="{width:tdWidth[0]+'px'}">
							{{index+1}}
						</text>
						<text :style="{width:tdWidth[1]+'px'}">
							{{item.GoodsName}}
						</text>
						<text :style="{width:tdWidth[2]+'px'}">
							{{item.GoodsCode}}
						</text>
						<text :style="{width:tdWidth[3]+'px'}">
							{{item.Qty | sendFloat}}
						</text>
						<text :style="{width:tdWidth[4]+'px'}">
							{{item.Amount | sendFloat}}
						</text>
						<text :style="{width:tdWidth[5]+'px'}">
							{{item.cost_amt | sendFloat}}
						</text>
						<text :style="{width:tdWidth[6]+'px'}">
							{{item.profit_amt | sendFloat}}
						</text>
						<text :style="{width:tdWidth[7]+'px'}">
							{{item.maolilv | sendFloat}}
						</text>
					</view>
				</view>
				<view class="allPrice" :style="{width:tdAllWidth+'px'}">
					<text :style="{width:tdWidth[0]+'px'}">小计</text>
					<text :style="{width:tdWidth[1]+'px'}"></text>
					<text :style="{width:tdWidth[2]+'px'}"></text>
					<text :style="{width:tdWidth[3]+'px'}">{{SaleQtyCount | sendFloat}}</text>
					<text :style="{width:tdWidth[4]+'px'}">{{SaleAmountCount | sendFloat}}</text>
					<text :style="{width:tdWidth[5]+'px'}">{{cbAmount | sendFloat}}</text>
					<text :style="{width:tdWidth[6]+'px'}">{{MlAmount | sendFloat}}</text>
					<text :style="{width:tdWidth[7]+'px'}"></text>
				</view>
			</view>
			<view class="orderLookAllList" :style="{height: orderListHeight + 'px'}" v-show="!isList">
				<view class="orderLookItem" v-for="(item,index) in orderList" :style="{ display:(nowRote === index) ? 'table':'block'}"
				 :key="index" @tap="lookMore(index)">
					<text>{{index+1}}</text>
					<text>商品名称:{{item.GoodsName}}</text>
					<text>编号:{{item.GoodsCode}}</text>
					<text>销售数量:{{item.Qty}}</text>
					<text>销售金额:{{item.Amount| sendFloat}}</text>
					<text>成本金额:{{item.cost_amt| sendFloat}}</text>
					<text>毛利额:{{item.profit_amt| sendFloat}}</text>
					<text>毛利率:{{item.maolilv | sendFloat}}</text>
					<!-- <button class="lookMoreInfo" :style="{ transform :(nowRote == index)  ? 'rotate(180deg)':'rotate( 0deg)'}"></button> -->
					<button class="lookMoreInfo" >
						{{nowRote == index?'收起':'展开'}}
					</button>
				</view>
			</view>
		</view>
		<!-- <view class="changetdWidth" v-show="showChange">
			<view class="changetdWidthWrap">
				<view class="changetdWidthHeader">修改列长度</view>
				<view class="changetdWidthContain padding">
					<view v-for="(item,index) in tdHeaderList" :key="index">
						<view class="changeItem">
							<text class="liName title">{{item.name}}列：</text>
							<input v-model="tdWidth[index]" />
						</view>
					</view>
				</view>
				<view class="sureBt1">
					<view class="qd-btn">
						<button @tap="hideChaneg()">确定</button>
					</view>
				</view>
			</view>
		</view> -->
		<view class="cu-modal" :class="showChange?'show':'hide'">
			<view class="cu-dialog">
				<view class="cu-bar bg-white justify-end">
					<view class="content">设置表格列宽度</view>
					<view class="action" @tap="hideChaneg">
						<text class="cuIcon-close text-red"></text>
					</view>
				</view>
				<view class="padding-xl">
					<view class="padding-xl-item" v-for="(item,index) in tdHeaderList" :key="item.name">
						<text>{{item.name}}:</text><input v-model="tdWidthList[index]" />
					</view>
				</view>
				<view class="cu-bar bg-white justify-end">
					<view class="action">
						<button class="cu-btn bg-grey float-left" @tap="hideChaneg">取消</button>
						<button class="cu-btn stop margin-left" @tap="sureSetting">确定</button>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>
<script>
	import * as Api from '@/syApis/syBb/apis.js'
	export default {
		
		onLoad(options) {
			// 获取表格框的宽度
			let tbWidList = uni.getStorageSync("saleProfitWidList", "");
			// console.log(tbWidList);
			if (tbWidList != "") {
				this.tdWidthList = JSON.parse(tbWidList);
				this.tdWidth = JSON.parse(tbWidList);
			}
			var $this = this;
			uni.getSystemInfo({
				success(res) {
					$this.wrapperHeight = res.windowHeight;
					$this.containerHeight = res.windowHeight - 50 ;
					$this.orderListHeight = res.windowHeight - 50 ;
					$this.orderLiHeight = res.windowHeight - 50 - 80 ;
				}
			});
			let date = new Date();
			this.getTime();
			
			this.getCgOrder();
			
		},
		filters:{
			sendFloat(val=""){
			   if(val==""){
				   return "";
			   }
			   return Math.round(val*100)/100;
			}
		},
		computed: {
			tdAllWidth() {
				var tdAllWidth = 0;
				this.tdWidth.forEach(item => {
					tdAllWidth += parseFloat(item);
				});
				tdAllWidth += this.tdWidth.length - 1;
				return tdAllWidth;
			}
		},
		watch: {
			orderList(oldval, newval) {
				var SaleQtyCount = 0;
				var SaleAmountCount = 0;
				var cbAmount = 0;
				var MlAmount = 0;
				this.orderList.forEach(item => {
					SaleQtyCount += item.Qty
					SaleAmountCount += item.Amount;
					cbAmount += item.cost_amt;
					MlAmount += item.profit_amt;
				});
				this.SaleQtyCount = SaleQtyCount;
				this.SaleAmountCount = SaleAmountCount;
				this.cbAmount = cbAmount;
				this.MlAmount = MlAmount;
			}
		},
		onShow(){
			this.$eventHub.$off("fire");
		},
		methods: {
			AddListen(){
				var _this = this;
				this.$eventHub.$on('fire', function(data) {
					_this.startTime = data.StartDate;
					_this.EndDate = data.EndDate;
					_this.curstomName = data.ClientName == "" ? "全部客户" : data.ClientName;
					_this.getCgOrder(data);
					_this.$eventHub.$off("fire");
				});
			},
			getTime() {
				let yyyy = new Date().getFullYear();
				let mm = (new Date().getMonth() + 1)< 10 ? '0' + (new Date().getMonth() + 1) : (new Date().getMonth() + 1);
				let dd = new Date().getDate() < 10 ? '0' + new Date().getDate() : new Date().getDate();
				this.startTime = yyyy + '-' + mm + '-' + dd;
				this.endTime = yyyy + '-' + mm + '-' + dd;
			},
			paixu1(selectIndex) {
				var len = this.orderList.length;
				var arr = this.orderList
				switch (selectIndex) {
					case 1:
						if (this.paixu01 == false) {
							this.paixu01 = true
							for (var i = 0; i < len; i++) {
								for (var j = 0; j < len - 1 - i; j++) {
									if (parseFloat(arr[j].Qty) > parseFloat(arr[j + 1].Qty)) { //相邻元素两两对比
										var temp = arr[j + 1];
										//元素交换
										arr[j + 1] = arr[j];
										arr[j] = temp;
									}
								}
							}
						} else {
							this.paixu01 = false
							for (var i = 0; i < len; i++) {
								for (var j = 0; j < len - 1 - i; j++) {
									if (arr[j].Qty < arr[j + 1].Qty) { //相邻元素两两对比
										var temp = arr[j];
										//元素交换
										arr[j] = arr[j + 1];
										arr[j + 1] = temp;
									}
								}
							}
						}
						return arr;
						break;

					case 2:
						if (this.paixu02 == false) {
							this.paixu02 = true
							for (var i = 0; i < len; i++) {
								for (var j = 0; j < len - 1 - i; j++) {
									if (parseFloat(arr[j].Amount) > parseFloat(arr[j + 1].Amount)) { //相邻元素两两对比
										var temp = arr[j + 1];
										//元素交换
										arr[j + 1] = arr[j];
										arr[j] = temp;
									}
								}
							}
						} else {
							this.paixu02 = false
							for (var i = 0; i < len; i++) {
								for (var j = 0; j < len - 1 - i; j++) {
									if (parseFloat(arr[j].Amount) < parseFloat(arr[j + 1].Amount)) { //相邻元素两两对比
										var temp = arr[j];
										//元素交换
										arr[j] = arr[j + 1];
										arr[j + 1] = temp;
									}
								}
							}
						}
						return arr;
						break;

					case 3:
						if (this.paixu03 == false) {
							this.paixu03 = true
							for (var i = 0; i < len; i++) {
								for (var j = 0; j < len - 1 - i; j++) {
									if (parseFloat(arr[j].cost_amt) > parseFloat(arr[j + 1].cost_amt)) { //相邻元素两两对比
										var temp = arr[j + 1];
										//元素交换
										arr[j + 1] = arr[j];
										arr[j] = temp;
									}
								}
							}
						} else {
							this.paixu03 = false
							for (var i = 0; i < len; i++) {
								for (var j = 0; j < len - 1 - i; j++) {
									if (parseFloat(arr[j].cost_amt) < parseFloat(arr[j + 1].cost_amt)) { //相邻元素两两对比
										var temp = arr[j];
										//元素交换
										arr[j] = arr[j + 1];
										arr[j + 1] = temp;
									}
								}
							}
						}
						return arr;
						break;

					case 4:
						if (this.paixu04 == false) {
							this.paixu04 = true
							for (var i = 0; i < len; i++) {
								for (var j = 0; j < len - 1 - i; j++) {
									if (parseFloat(arr[j].profit_amt) > parseFloat(arr[j + 1].profit_amt)) { //相邻元素两两对比
										var temp = arr[j + 1];
										//元素交换
										arr[j + 1] = arr[j];
										arr[j] = temp;
									}
								}
							}
						} else {
							this.paixu04 = false
							for (var i = 0; i < len; i++) {
								for (var j = 0; j < len - 1 - i; j++) {
									if (parseFloat(arr[j].profit_amt) < parseFloat(arr[j + 1].profit_amt)) { //相邻元素两两对比
										var temp = arr[j];
										//元素交换
										arr[j] = arr[j + 1];
										arr[j + 1] = temp;
									}
								}
							}
						}
						return arr;
						break;
				}
			},
			//修改宽度
			changeWidth() {
				this.showChange = true;
			},
			hideChaneg() {
				this.showChange = false;
				let tempList = [];
				this.tdWidth.forEach((item,index)=>{
					tempList.push(item);
				})
				this.tdWidthList = tempList;
				// uni.setStorageSync("tbWidList",JSON.stringify(tempList));
				// this.tdWidthList = this.tdWidth;
			},
			sureSetting() {
				let tempList = [];
				this.tdWidthList.forEach((item,index)=>{
					tempList.push(item);
				})
				this.tdWidth = tempList;
				uni.setStorageSync("saleProfitWidList",JSON.stringify(tempList));
				this.showChange = false;
			},
			//返回上一页
			back() {
				uni.navigateBack({
					delta: 1
				})
			},
			//跳转到筛选条件页
			// filter() {
			// 	uni.navigateTo({
			// 		url: './SaleProfitFilter'
			// 	})
			// },
			// #ifndef MP
			onNavigationBarButtonTap(e) {
				const index = e.index;
				this.AddListen();
				if (index === 0) {
					uni.navigateTo({
						url: './SaleProfitFilter'
					})
				}else{
					this.changeListAl();
				}
			},
			// #endif
			//获取采购订单
			getCgOrder: function(filter) {
				let data = {};
				if (filter == undefined) {
					data = {
						StartDate: this.startTime,
						EndDate: this.endTime
					}
				} else {
					data = filter;
				}
				var _this = this;
				this.orderList = [];
				Api.GetSaleProfitSum(data, function(res) {
					if (res.state) {
						if (res.data.ErrorMsg == "获取登录信息失败") {

						} else if (res.data.ErrorMsg != "") {
							Api.showTip(res.data.ErrorMsg);
						} else {
							_this.orderList = _this.setTwoFloat(res.data.ResultMsg);
						}
					} else {
						Api.showTip("服务器开小差了");
					}
				});
			},
			//保留两位小数
			setTwoFloat(arr) {
				arr.forEach((item, index) => {
					arr[index].Qty = Api.setTwoFloat(item.Qty);
					arr[index].Amount = Api.setTwoFloat(item.Amount);
					arr[index].cost_amt = Api.setTwoFloat(item.cost_amt);
					arr[index].profit_amt = Api.setTwoFloat(item.profit_amt);
					arr[index].maolilv = Api.setTwoFloat(item.maolilv);
				});
				return arr;
			},
			lookMore: function(index) {
				this.nowRote = this.nowRote == index ? "-1" : index;
			},
			changeListAl: function() {
				this.isList = !this.isList;
			}
		},

		data() {
			return {
				paixu01: false,
				paixu02: false,
				paixu03: false,
				paixu04: false,
				//修改列长度设置
				showChange: false,
				orderList: [],
				containerHeight: 100,
				wrapperHeight: 600,
				orderListHeight: 100,
				orderLiHeight: 100,
				isList: false,
				startTime: "",
				endTime: "",
				curstomName: "全部客户",
				//订单页标题
				OrderTitle: "",
				//是否销售订单
				isSale: false,
				nowRote: -1,
				//销售数量合计
				SaleQtyCount: 0,
				//销售金额合计
				SaleAmountCount: 0,
				//成本金额合计
				cbAmount: 0,
				//毛利额合计
				MlAmount: 0,
				xjList: [{
					name: "小计"
				}, {
					name: "备注"
				}, {
					name: "备注"
				}, {
					name: ""
				}, {
					name: ""
				}, {
					name: ""
				}, {
					name: ""
				}, {
					name: ""
				}],
				list: [{
						name: 0,
						"openAndClose": "",
						"lookMoreClass": ""
					},
					{
						name: 0,
						"openAndClose": "",
						"lookMoreClass": ""
					}, {
						name: 0,
						"openAndClose": "",
						"lookMoreClass": ""
					}
				],
				//td宽度列表
				tdWidth: [50, 125, 125, 125, 125, 125, 125, 125],
				tdWidthList: [50, 125, 125, 125, 125, 125, 125, 125],
				//tb表头
				tdHeaderList: [{
						name: "序号"
					},
					{
						name: "商品"
					}, {
						name: "编号"
					}, {
						name: "销售数量"
					}, {
						name: "销售金额"
					}, {
						name: "成本金额"
					}, {
						name: "毛利额"
					}, {
						name: "毛利率"
					}
				]
			}
		}
	}
</script>

<style lang="scss">
	@import url('../../style/changecolum.scss');
	@import '@/static/bbCss/bb.scss';
	// /*图标的大小*/
	// $iconWidth:20px;
	// $iconHeight:20px;
	// $iconBackSize:20px;
	// $bb-bg-color:rgba(124, 170, 216, 1);

	// .title-padding {
	// 	height: var(--status-bar-height);
	// 	background: $bb-bg-color;
	// 	box-sizing: content-box;
	// }

	// page {
	// 	width: 100%;
	// 	height: 100%;
	// 	padding-bottom: 0px;
	// }

	// .wrapper {
	// 	width: 100%;
	// 	height: 100%;
	// 	display: flex;
	// 	flex-direction: column;
	// 	overflow: hidden;
	// }

	// button::after {
	// 	border: none;
	// 	padding: 0px;
	// }

	// .sureBt1 {
	// 	width: 100%;
	// 	height: 50px;
	// 	text-align: center;
	// 	position: absolute;
	// 	bottom: 0px;
	// 	z-index: 999;

	// 	.qd-btn {
	// 		position: fixed;
	// 		width: 90%;
	// 		background: #FFFFFF;

	// 		button {
	// 			width: 100px;
	// 			height: 40px;
	// 			margin-top: 5px;
	// 			line-height: 40px;
	// 			font-size: 12px;
	// 			float: right;
	// 			background: #007AFF;
	// 			color: #FFF;
	// 			margin-right: 10px;
	// 		}
	// 	}

	// }

	// .headerGd {
	// 	width: 100%;
	// 	height: 100upx;
	// 	line-height: 100upx;
	// 	background: $bb-bg-color;
	// 	display: table;

	// 	.header {
	// 		position: relative;
	// 		text-align: center;
	// 		font-size: 16px;
	// 		color: #FFF;

	// 		.back {
	// 			width: $iconWidth;
	// 			height: $iconHeight;
	// 			background: url(../../static/back.png) no-repeat;
	// 			position: absolute;
	// 			left: 10px;
	// 			top: 15px;
	// 			background-size: $iconBackSize;
	// 		}

	// 		.filter {
	// 			width: $iconWidth;
	// 			height: $iconHeight;
	// 			position: absolute;
	// 			right: 10px;
	// 			top: 15px;
	// 			background: url(../../static/cg/filter.png);
	// 		}
	// 	}
	// }

	// .container {
	// 	font-size: 14px;

	// 	.curstom {
	// 		width: 100%;
	// 		height: 50px;
	// 		line-height: 50px;
	// 		display: flex;
	// 		padding-left: 10px;
	// 		padding-right: 10px;
	// 		box-sizing: border-box;
	// 		background: rgba(124, 170, 216, 1);
	// 		box-sizing: border-box;
	// 		color: #FFF;

	// 		.curstomName {
	// 			flex: 1;
	// 			text-align: center;
	// 		}

	// 		.filterTime {
	// 			flex: 4;
	// 			text-align: center;
	// 			// display: flex;
	// 			// flex-direction: column;
	// 			white-space: nowrap;
	// 			text-overflow: ellipsis;
	// 			overflow: hidden;
	// 			text-align: left;
			
	// 			text {
	// 				// flex: 1;
	// 				line-height: 25px;
	// 				height: 25px;
	// 				display: block;
	// 				white-space: nowrap;
	// 				text-overflow: ellipsis;
	// 				overflow: hidden;
	// 				box-sizing: border-box;
	// 				padding-left: 2px;
	// 				padding-bottom: 2px;
	// 				text-align: left;
	// 			}
	// 		}
			
	// 		.filterTime:last-child {
	// 			flex: 2;
	// 		}

	// 		.changeList {
	// 			width: 30px;
	// 			height: 30px;
	// 			background: url(../../static/changeIcon.png) no-repeat;
	// 			background-size: 100%;
	// 			margin-top: 15px;
	// 		}
	// 	}

	// 	//表格单据
	// 	.orderList {
	// 		width: 100%;
	// 		overflow: auto;
	// 		box-sizing: border-box;

	// 		text {
	// 			float: left;
	// 			text-align: center;
	// 			box-sizing: border-box;
	// 			height: 40px;
	// 			line-height: 40px;
	// 			border-right: 1px solid #CCC;
	// 			white-space: nowrap;
	// 			text-overflow: ellipsis;
	// 			overflow: hidden;

	// 			&:last-child {
	// 				border: none;
	// 			}
	// 		}

	// 		.orderNav {
	// 			height: 40px;
	// 			line-height: 40px;

	// 			box-sizing: border-box;
	// 			overflow: hidden;
	// 			border-top: 1px solid #CCC;
	// 			border-left: 1px solid #FFF;
	// 			background: #FFF;
	// 		}

	// 		.orderLi {

	// 			background: #ebebeb;
	// 			overflow: auto;

	// 			.orderItem {
	// 				height: 40px;
	// 				line-height: 40px;
	// 				width: 100%;
	// 				border: 1px solid #ebebeb;
	// 				box-sizing: border-box;
	// 				display: table;
	// 				border-bottom: 1px solid #CCCCCC;

	// 				view {
	// 					display: inline-block;
	// 					height: 100%;
	// 					line-height: 40px;
	// 					float: left;
	// 					text-align: center;
	// 					border-right: 1px solid #CCC;
	// 					box-sizing: border-box;
	// 					padding-top: 5upx;
	// 					padding-bottom: 5upx;
	// 					white-space: nowrap;
	// 					text-overflow: ellipsis;
	// 					overflow: hidden;

	// 					image {
	// 						width: 60px;
	// 						margin: auto;
	// 						display: table;
	// 					}

	// 					&:last-child {
	// 						border: none;
	// 					}

	// 				}
	// 			}
	// 		}

	// 		.allPrice {
	// 			@extend .orderNav;
	// 			background: rgba(124, 170, 216, 1);
	// 			color: #FFF;
	// 		}
	// 	}

	// 	//列表单据
	// 	.orderLookAllList {
	// 		width: 100%;
	// 		background: #ebebeb;
	// 		box-sizing: border-box;
	// 		padding: 30upx;
	// 		box-sizing: border-box;
	// 		overflow: auto;

	// 		.orderLookItem {
	// 			width: 100%;
	// 			height: 220upx;
	// 			overflow: hidden;
	// 			position: relative;
	// 			border-radius: 20upx;
	// 			background: #FFF;
	// 			box-sizing: border-box;
	// 			padding-left: 30upx;
	// 			padding-right: 100upx;
	// 			padding-top: 5upx;
	// 			padding-bottom: 5upx;
	// 			margin-bottom: 20upx;
	// 		}

	// 		.lookMoreInfo {
	// 			width: $iconWidth;
	// 			height: $iconHeight;
	// 			background: url(../../static/pull.png) no-repeat;
	// 			position: absolute;
	// 			bottom: 10upx;
	// 			right: 10upx;
	// 			padding: 0upx;
	// 			background-size: 100% 100%;
	// 			transition: height 2s;
	// 		}

	// 		text {
	// 			display: block;
	// 			font-size: 30upx;

	// 			&:nth-child(1) {
	// 				position: absolute;
	// 				top: 10upx;
	// 				right: 10upx;
	// 				width: $iconWidth;
	// 				height: $iconHeight;
	// 				border-radius: 10upx;
	// 				text-align: center;
	// 				display: table;
	// 				color: #000;
	// 				line-height: $iconHeight;
	// 				padding: 5upx;
	// 			}

	// 			&:nth-child(n+2) {
	// 				height: 55upx;
	// 				line-height: 55upx;
	// 				display: table;
	// 			}
	// 		}

	// 		.lookMoreClass {
	// 			display: table;

	// 		}

	// 		.openAndClose {
	// 			transform: rotate(180deg);
	// 		}
	// 	}

	// }

	// //查看大图
	// .lookBig {
	// 	position: fixed;
	// 	width: 100%;
	// 	height: 100%;
	// 	overflow: auto;
	// 	top: 0;
	// 	left: 0;
	// 	background: rgba(0, 0, 0, .3);

	// 	image {
	// 		width: 70%;
	// 		margin: auto;
	// 		margin-top: 10%;
	// 	}
	// }
	// .padding-xl {
	// 	overflow: auto;
	// 	max-height: 400px;
	// }
	
	// .padding-xl-item {
	// 	display: flex;
	// }
	
	// .padding-xl-item text {
	// 	min-width: 70px;
	// 	height: 40px;
	// 	line-height: 40px;
	// 	text-align: right;
	// 	padding-right: 10px;
	// 	box-sizing: border-box;
	// 	font-size: 15px;
	// }
	
	// .padding-xl-item input {
	// 	flex: 1;
	// 	border: 1px solid #CCC;
	// 	height: 30px;
	// 	line-height: 30px;
	// 	margin-top: 5px;
	// }
	
	// .stop {
	// 	padding-left: 12px;
	// 	padding-right: 12px;
	// 	font-size: 14px;
	// 	background: rgba(124, 170, 216, 1);
	// 	color: #FFF;
	// 	box-sizing: border-box;
	// 	margin-left: 40px;
	// }
</style>
